﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Milan.Diagnostics
{
	public class LogServer : Milan.Net.RpcServer
	{
		public LogServer(Milan.Deploy.Application application) : base(application,LogClient.GetPipeName(),10)
		{
		}
		public override string ProcessString(string command)
		{
			int i = command.IndexOf(':');
			string op = command.Substring(0, i);
			LogLevel logLevel = (LogLevel)Enum.Parse(typeof(LogLevel),op);
			string returns = "";
			try
			{
				
			}
			catch (Exception ex)
			{
				returns = "err:" + ex.Message;
			}
			return returns;
		}
	}
}
